package com.repair.project.service.impl;

import com.repair.project.entity.Student;
import com.repair.project.mapper.StudentMapper;
import com.repair.project.service.StudentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hz
 * @since 2021-01-12
 */
@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements StudentService {

    @Autowired
    StudentMapper studentMapper;

    @Override
    public List<Student> getStuList(Integer stuid, String name, String housenumber,String buildingnumber) {
        return studentMapper.getStuList(stuid,name,housenumber,buildingnumber);
    }
}
